package com.soup.lab.spring.web.pojo;

import com.soup.lab.spring.web.tools.enums.ser.EnumCodeSerialize;
import com.soup.lab.spring.web.tools.enums.validation.EnumCode;
import com.soup.lab.spring.web.enums.NumberEnum;
import com.soup.lab.spring.web.enums.StateEnum;
import lombok.AllArgsConstructor;

@AllArgsConstructor
public class OtherPojo {

    @EnumCodeSerialize(StateEnum.class)
    @EnumCode(StateEnum.class)
    private String type;

    @EnumCodeSerialize(NumberEnum.class)
    @EnumCode(NumberEnum.class)
    private Integer aCode;

    @EnumCodeSerialize(NumberEnum.class)
    public Integer getOtherCode() {
        return null;
    }

}
